package com.leadingsoft.pwxk.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.leadingsoft.pwxk.dto.ApesDto;
import com.leadingsoft.pwxk.dto.SearchDto;
import com.leadingsoft.pwxk.service.WPEStatisticalService;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * 
 * @author ysh
 * @desc 水污染物排放量统计
 */
@Api(description = "水污染物排放量统计")
@RequestMapping("api/wPEStatistical")
@RestController
public class WPEStatisticalController {

	@Autowired
	WPEStatisticalService wPEStatisticalService;

	@ApiOperation("水污染物排放量统计")
	@GetMapping
	public ApesDto getStatistical(SearchDto s) {
		return wPEStatisticalService.getStatistical(s);
	}
}
